import { defineStore } from 'pinia'


interface State {
  used: number
  allNum: number
}

export const useCommon = defineStore('common', {
  state: (): State => {
    return {
      used: 0,
      allNum: 100
    }
  },
  getters: {

  },
  actions: {

  },
  persist: {
    debug: true,
    storage: sessionStorage,
  }
})
